package com.yaorange.nongjt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 打印机序列号对象 njt_serial
 * 
 * @author wei
 * @date 2025-02-28
 */
public class NjtSerial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 打印机序列号 */
    @Excel(name = "打印机序列号")
    private String serialNumber;

    /** 打印机类型（便携式打印机、高速打印机） */
    @Excel(name = "打印机类型", readConverterExp = "便=携式打印机、高速打印机")
    private String printerType;

    /** 状态（0-未使用，1-已使用） */
    @Excel(name = "使用情况", readConverterExp = "0=-未使用，1-已使用")
    private Integer printerStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setPrinterType(String printerType) 
    {
        this.printerType = printerType;
    }

    public String getPrinterType() 
    {
        return printerType;
    }
    public void setprinterStatus(Integer printerStatus)
    {
        this.printerStatus = printerStatus;
    }

    public Integer getprinterStatus()
    {
        return printerStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("printerType", getPrinterType())
            .append("printerStatus", getprinterStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
